package com.info.zhiduoduo.common.configs;

import com.info.zhiduoduo.common.utils.StringUtil;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Component
@PropertySource(value = "pinganpay-${spring.profiles.active}.properties")
@ConfigurationProperties("pinganpay")
@Data
public class PingAnPayConfig {
    private String appPrivateKey;
    private String publicKey;
    private String appId;
    private String baseUrl;
    private String appSecret;
    private String fileUploadUrl;
    private String fileDownLoadUrl;
    private String queryOrderFileUrl;
    private String fileDownLoadOrderFileUrl;
}
